package Polimorfismo;

public class Test {
	public static void main(String[] args) {
		
		Empleado e = new Empleado();
		Gerente g = new Gerente();
		
		
		System.out.println(e.getDetails());
		System.out.println();
		System.out.println(g.getDetails());
		System.out.println();
		
		
		Empleado ep = new Gerente();
		System.out.println(ep.getDetails());
		
		
		Estadistica est = new Estadistica();
		System.out.println(est.media(5,7,8,9,10,10,5,6,7,2,1,2));
		
	}
	

}
